<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <svg width="400" height="400" viewBox="0 0 100 100">
       <image href="../imgs/1.png" x="10" y="10" width="80" height="80" transform="rotate(45,50,50)"  />
    </svg>

    <svg width="400" height="400" viewBox="0 0 100 100">
        <image href="../imgs/1.png" x="0" y="0" width="100" height="100" preserveAspectRatio="xMinYMin meet" />
     </svg>

     <svg width="400" height="400" viewBox="0 0 100 100">
        <image href="../imgs/1.png" x="0" y="0" width="100" height="100" preserveAspectRatio="xMaxYMid slice" />
     </svg>

     <svg width="400" height="400" viewBox="0 0 100 100">
        <image href="../imgs/1.png" x="0" y="0" width="100" height="100" preserveAspectRatio="none" />
     </svg>

     <svg width="400" height="400" viewBox="0 0 100 100">
        <image href="../imgs/2.jpg" width="80" height="100" preserveAspectRatio="xMaxYMax" />
     </svg>

    
    <script src="index.js"></script>
</body>
</html>